x86/tboot: simplify DMAR table copying
authorJan Beulich <jbeulich@suse.com>
Thu, 5 Mar 2015 12:38:25 +0000 (13:38 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 5 Mar 2015 12:38:25 +0000 (13:38 +0100)
commitacd60189e5401572d0a741ef104f3d55302ce7b5
tree891d0b30fa25dcf1fdc297116ab2feda77a81555
parent071c4336ba517ef7659c9fd3ac7052183b570e57
x86/tboot: simplify DMAR table copying

There's no need for more than one variable, no need for casts, and no
point in using the type-safe xmalloc_array() here.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: "Wei, Gang" <gang.wei@intel.com>
xen/arch/x86/tboot.c